Share via


ExtensionMethods.GetDocumentation Method

Gets documentation for a specified element.

Namespace:  Microsoft.Data.Edm
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function GetDocumentation ( _
    model As IEdmModel, _
    element As IEdmElement _
) As IEdmDocumentation
'Usage
Dim model As IEdmModel 
Dim element As IEdmElement 
Dim returnValue As IEdmDocumentation 

returnValue = model.GetDocumentation(element)
public static IEdmDocumentation GetDocumentation(
    this IEdmModel model,
    IEdmElement element
)
[ExtensionAttribute]
public:
static IEdmDocumentation^ GetDocumentation(
    IEdmModel^ model, 
    IEdmElement^ element
)
static member GetDocumentation : 
        model:IEdmModel * 
        element:IEdmElement -> IEdmDocumentation
public static function GetDocumentation(
    model : IEdmModel, 
    element : IEdmElement
) : IEdmDocumentation

Parameters

Return Value

Type: Microsoft.Data.Edm.IEdmDocumentation
The documentation that exists on the element. Otherwise, null.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmModel. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).

See Also

Reference

ExtensionMethods Class

Microsoft.Data.Edm Namespace