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.
Returns the type of a specified property.
Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function GetPropertyType ( _
    collectionPath As String, _
    propertyName As String, _
    <OutAttribute> ByRef type As UInteger _
) As Integer
int GetPropertyType(
    string collectionPath,
    string propertyName,
    out uint type
)
int GetPropertyType(
    [InAttribute] String^ collectionPath, 
    [InAttribute] String^ propertyName, 
    [OutAttribute] unsigned int% type
)
abstract GetPropertyType : 
        collectionPath:string * 
        propertyName:string * 
        type:uint32 byref -> int
function GetPropertyType(
    collectionPath : String, 
    propertyName : String, 
    type : uint
) : int
Parameters
- collectionPath 
 Type: String- [in] The path of the collection. 
- propertyName 
 Type: String- [in] The property name. 
- type 
 Type: UInt32%- [out] The property type. 
Return Value
Type: Int32
Returns S_OK if the property was returned or E_INVALIDARG if the property does not exist.
.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.