Convert a GUID to a string with the format (0x01020304, 0x0506, 0x0708, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10).
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Function GuidToForm1 ( _
guid As Guid _
) As String
'使用
Dim instance As TokenProcessor
Dim guid As Guid
Dim returnValue As String
returnValue = instance.GuidToForm1(guid)
public string GuidToForm1(
Guid guid
)
public:
String^ GuidToForm1(
Guid guid
)
public function GuidToForm1(
guid : Guid
) : String
Parameters
guid
Type: System.GuidThe GUID to convert.
Return Value
Type: System.String
The string of format (0x01020304, 0x0506, 0x0708, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10) that is produced from the GUID.
Permissions
- 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.