Partilhar via


MethodInstance Members

Include Protected Members
Include Inherited Members

Enables reuse of method metadata with different default values for the parameters of the method.

The MethodInstance type exposes the following members.

Properties

  Name Description
Public property DefaultDisplayName Gets or sets the default display name. (Inherited from MetadataObject.)
Public property HasReturnTypeDescriptor Gets a Boolean value that indicates whether the current MethodInstance object has a return TypeDescriptor.
Public property Id Gets the identifier of the MetadataObject object. (Inherited from MetadataObject.)
Public property IsCached Indicates whether the object is cached. (Inherited from MetadataObject.)
Public property IsDefault Gets or sets a value specifying whether this is the default method instance.
Public property LocalizedDisplayName Gets or sets the localized display name. (Inherited from MetadataObject.)
Public property LocalizedDisplayNames Gets the collection of localized display names. (Inherited from MetadataObject.)
Public property Method Gets a Method object that represents the current MethodInstance object.
Public property MethodId Gets the method identifier.
Public property MethodInstanceType Gets or sets a MethodInstanceType indicating the type of the current MethodInstance object.
Public property Name Gets or sets the name of the object. (Inherited from MetadataObject.)
Public property Properties Gets the property collection of the object. (Inherited from MetadataObject.)
Public property ReturnTypeDescriptor Gets the return TypeDescriptor for the current MethodInstance object.

Top

Methods

  Name Description
Public method ContainsLocalizedDisplayName Indicates whether the object contains a localized display name. (Inherited from MetadataObject.)
Public method CopyAclAcrossChildren Copies the list of access control entries (ACEs) associated with the metadata object to all of its child metadata objects. Each individually securable metadata object inherits from this class and provides its own implementation of this method. (Inherited from IndividuallySecurableMetadataObject.)
Public method CopyAclAcrossChildrenForSetting Copies the list of access control entries (ACEs) associated with the metadata object to all of its child metadata objects for the specified setting. Each individually securable metadata object inherits from this class and provides its own implementation of this method. (Inherited from IndividuallySecurableMetadataObject.)
Public method CopyAclToSetting Copies the access control list (ACL) from the default setting to the target setting. (Inherited from IndividuallySecurableMetadataObject.)
Public method Delete Deletes the MetadataObject object. (Inherited from MetadataObject.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAccessControlList() Gets the access control list for this metadata object. (Inherited from AccessControlledMetadataObject.)
Public method GetAccessControlList(String) Gets a list of the individually securable child metadata objects. (Inherited from IndividuallySecurableMetadataObject.)
Public method GetAccessControlList(String, Boolean) Gets a list of the individually securable child metadata objects. (Inherited from IndividuallySecurableMetadataObject.)
Public methodStatic member GetById Returns the method instance with the specified identifier from the specified metadata store.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public methodStatic member MergeXml Reads the MethodInstance definition from the specified resource XML for the specified method, and then merges its properties, localized names, and access control entries with the existing MethodInstance in the metadata store.
Public method Read Updates the properties of this method instance from the method instance that is read from the metadata store. (Overrides MetadataObject.Read().)
Protected method ReadCommon This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from MetadataObject.)
Public methodStatic member ReadXml Reads the MethodInstance definition from the specified metadata XML for the specified method.
Public method SetAccessControlList(IAccessControlList) Sets the access control list (ACL) for an individually securable metadata object. (Inherited from IndividuallySecurableMetadataObject.)
Public method SetAccessControlList(IAccessControlList, String) Sets the access control list (ACL) for an individually securable metadata object for the specified setting. (Inherited from IndividuallySecurableMetadataObject.)
Public method ToString (Inherited from Object.)
Public method Update Updates the object. (Inherited from MetadataObject.)
Public method WriteSlicedXml Writes a sliced XML fragment in the metadata store. (Inherited from MetadataObject.)
Public method WriteXml(PackageContents) Returns the XML representation of the MetadataObject. (Inherited from MetadataObject.)
Public method WriteXml(PackageContents, String) Returns the XML representation of the MetadataObject, which is generated using the properties, localized names, and access control entries from the specified setting. (Inherited from MetadataObject.)

Top

See Also

Reference

MethodInstance Class

Microsoft.SharePoint.BusinessData.Administration Namespace