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.
Gets the value of the specified option for the current metadata scope. The option controls how calls to the current metadata scope are handled.
HRESULT GetOption (
[in] REFGUID optionId,
[out] const VARIANT *pValue
);
Parameters
optionId
[in] A pointer to a GUID that specifies the option to be retrieved. See the Remarks section for a list of supported GUIDs.pValue
[out] The value of the returned option. The type of this value will be a variant of the specified option's type.
Remarks
The following list shows the GUIDs that are supported for this method. For descriptions, see the IMetaDataDispenserEx::SetOption method. If optionId is not in this list, this method returns HRESULT 0x80070057, indicating an incorrect parameter.
MetaDataCheckDuplicatesFor
MetaDataRefToDefCheck
MetaDataNotificationForTokenMovement
MetaDataSetENC
MetaDataErrorIfEmitOutOfOrder
MetaDataGenerateTCEAdapters
MetaDataLinkerOptions
Requirements
Platform: See .NET Framework System Requirements.
Header: Cor.h
Library: Used as a resource in MsCorEE.dll
.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0
See Also
Reference
IMetaDataDispenserEx Interface
Change History
Date |
History |
Reason |
---|---|---|
March 2009 |
Added list of supported GUIDs. |
Content bug fix. |