ICustomAttributeProviderContract.GetCustomAttributes Method (Boolean)
This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.
Gets an array of custom attributes that are defined on the current object.
Namespace: Microsoft.VisualStudio.Tools.Applications.Contract
Assembly: Microsoft.VisualStudio.Tools.Applications.Contract.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Contract.v9.0.dll)
Syntax
'Declaration
Function GetCustomAttributes ( _
inherit As Boolean _
) As ISerializableObjectContract()
'Usage
Dim instance As ICustomAttributeProviderContract
Dim inherit As Boolean
Dim returnValue As ISerializableObjectContract()
returnValue = instance.GetCustomAttributes(inherit)
ISerializableObjectContract[] GetCustomAttributes(
bool inherit
)
array<ISerializableObjectContract^>^ GetCustomAttributes(
bool inherit
)
function GetCustomAttributes(
inherit : boolean
) : ISerializableObjectContract[]
Parameters
- inherit
Type: System.Boolean
Return Value
Type: array<System.AddIn.Contract.ISerializableObjectContract[]
An array of custom attributes, or an empty array if there are no custom attributes.
See Also
Reference
ICustomAttributeProviderContract Interface
ICustomAttributeProviderContract Members
Microsoft.VisualStudio.Tools.Applications.Contract Namespace