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.
Determines whether a property exists in a given collection.
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 PropertyExists ( _
    collectionPath As String, _
    propertyName As String, _
    <OutAttribute> ByRef pfExists As Integer _
) As Integer
int PropertyExists(
    string collectionPath,
    string propertyName,
    out int pfExists
)
int PropertyExists(
    [InAttribute] String^ collectionPath, 
    [InAttribute] String^ propertyName, 
    [OutAttribute] int% pfExists
)
abstract PropertyExists : 
        collectionPath:string * 
        propertyName:string * 
        pfExists:int byref -> int
function PropertyExists(
    collectionPath : String, 
    propertyName : String, 
    pfExists : int
) : int
Parameters
- collectionPath 
 Type: String- [in] The path of the collection. 
- propertyName 
 Type: String- [in] The property name. 
- pfExists 
 Type: Int32%- [out] The result. 
Return Value
Type: Int32
Returns S_OK if the status of the property was returned.
.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.