Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets metadata associated with the field referenced by the specified FieldDef token.
HRESULT GetFieldProps (
   [in]  mdFieldDef        mb, 
   [out] mdTypeDef         *pClass,
   [out] LPWSTR            szField,
   [in]  ULONG             cchField, 
   [out] ULONG             *pchField,
   [out] DWORD             *pdwAttr,
   [in]  PCCOR_SIGNATURE   *ppvSigBlob, 
   [out] ULONG             *pcbSigBlob, 
   [out] DWORD             *pdwCPlusTypeFlag, 
   [out] UVCP_CONSTANT     *ppValue,
   [out] ULONG             *pcchValue
);
Parameters
mb
[in] A FieldDef token that represents the field to get associated metadata for.pClass
[out] A pointer to a TypeDef token that represents the type of the class that the field belongs to.szField
[out] The name of the field.cchField
[in] The size in wide characters of the buffer for szField.pchField
[out] The actual size of the returned buffer.pdwAttr
[out] Flags associated with the field's metadata.ppvSigBlob
[in] A pointer to the binary metadata value that describes the field.pcbSigBlob
[out] The size in bytes of ppvSigBlob.pdwCPlusTypeFlag
[out] A flag that specifies the value type of the field.ppValue
[out] A constant value for the field.pcchValue
[out] The size in chars of ppValue, or zero if no string exists.
Requirements
Platforms: See .NET Framework System Requirements.
Header: Cor.h
Library: Included as a resource in MsCorEE.dll
.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0