Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets a domain property with a specific ID.
Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Function GetDomainProperty ( _
    id As Guid _
) As DomainPropertyInfo
public DomainPropertyInfo GetDomainProperty(
    Guid id
)
public:
DomainPropertyInfo^ GetDomainProperty(
    Guid id
)
member GetDomainProperty : 
        id:Guid -> DomainPropertyInfo
public function GetDomainProperty(
    id : Guid
) : DomainPropertyInfo
Parameters
- id 
 Type: System.Guid- The ID of the domain property. 
Return Value
Type: Microsoft.VisualStudio.Modeling.DomainPropertyInfo
A DomainPropertyInfo object with the specified ID.
Exceptions
| Exception | Condition | 
|---|---|
| DomainDataNotFoundException | If the requested domain property is not found. | 
Remarks
If the domain property is not found, an exception is thrown.
.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.