Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GuidAttribute Constructor
Collapse the table of content
Expand the table of content

GuidAttribute Constructor

Initializes a new instance of the GuidAttribute class with the specified GUID.

[Visual Basic]
Public Sub New( _
   ByVal guid As String _
)
[C#]
public GuidAttribute(
   string guid
);
[C++]
public: GuidAttribute(
   String* guid
);
[JScript]
public function GuidAttribute(
   guid : String
);

Parameters

guid
The Guid to be assigned.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

GuidAttribute Class | GuidAttribute Members | System.Runtime.InteropServices Namespace

Show:
© 2015 Microsoft