CodeGenerationUtilities.GetGuid Method
Returns a string of the form "new System.Guid(xxx)" where xxx is the string form of the given guid.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
‘선언
Public Shared Function GetGuid ( _
value As Guid _
) As String
public static string GetGuid(
Guid value
)
public:
static String^ GetGuid(
Guid value
)
static member GetGuid :
value:Guid -> string
public static function GetGuid(
value : Guid
) : String
Parameters
- value
Type: System.Guid
Return Value
Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.