ICSharpHelper.Reference Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Reference(Type) |
Generates a C# type reference. |
| Reference(Type, Nullable<Boolean>) |
Generates a C# type reference. |
Reference(Type)
- Source:
- ICSharpHelper.cs
Generates a C# type reference.
public string Reference(Type type);
abstract member Reference : Type -> string
Public Function Reference (type As Type) As String
Parameters
- type
- Type
The type to reference.
Returns
The reference.
Applies to
Reference(Type, Nullable<Boolean>)
- Source:
- ICSharpHelper.cs
- Source:
- ICSharpHelper.cs
- Source:
- ICSharpHelper.cs
- Source:
- ICSharpHelper.cs
- Source:
- ICSharpHelper.cs
Generates a C# type reference.
public string Reference(Type type, bool? fullName = default);
abstract member Reference : Type * Nullable<bool> -> string
Public Function Reference (type As Type, Optional fullName As Nullable(Of Boolean) = Nothing) As String
Parameters
- type
- Type
The type to reference.
Returns
The reference.