Windows Dev Center

PSScriptProperty Members

Represents an extended script property of a PSObject object.

The following tables list the members exposed by the PSScriptProperty type.

  Name Description
  PSScriptProperty Overloaded. Initializes a new instance of the PSScriptProperty class. The variants of this constructor can create an object that contains the name of the property and a getter script, and can create an object that contains the name of the property, a getter and setter script.
Top

  Name Description
public property GetterScript Gets the getter script for the script property.
public property IsGettable Overridden. Gets a value that indicates whether the value of the script property can be retrieved.
public property IsInstance  Gets a value that indicates whether the source of the member is a type configuration file. (Inherited from PSMemberInfo)
public property IsSettable Overridden. Gets a value that indicates whether the value of the script property can be set.
public property MemberType Overridden. Gets an identifier that indicates this property is an ETS script property.
public property Name  Gets the name of the extended member (method, property, or member set). (Inherited from PSMemberInfo)
public property SetterScript Gets the setter script of the script property.
public property TypeNameOfValue Overridden. Gets the .NET Framework type name of the object that is returned by the getter script.
public property Value Overridden. Gets and sets the value of the script property.
Top

(see also Protected Methods)
 NameDescription
public methodCopyOverridden. Makes a copy of the current PSScriptProperty object.
public methodEquals  (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodToStringOverridden. Converts the current PSScriptProperty object to a string.
Top

(see also Extension Methods)
 NameDescription
protected methodFinalize  (Inherited from Object)
protected methodMemberwiseClone  (Inherited from Object)
protected methodSetMemberName  Sets the name of the extended member. This method is introduced in Windows PowerShell 2.0. (Inherited from PSMemberInfo)
Top

  Name Description
public extension method As  Use this method to adapt an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  This is called to adapt an object from a foreign app domain to a known interface in this appDomainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  Adapts an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Use this method to adapt and extend an object so that you can pass it to a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  This is called to adapt and extend an object that we wish to pass to a foreign app domainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Used to extend an object with an interface from a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method ToEnumerable  This element is introduced in Windows PowerShell 5.0. (Defined by CollectionExtensions.)
Top


Show:
© 2015 Microsoft