C# 클래스 ZForge.Win32.FileAssociation.ProgramAssociationInfo

Provides instance of ProgramaticID that can be referenced by multiple different extensions.
파일 보기 프로젝트 열기: zhuangyy/Motion 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
progId string

공개 메소드들

메소드 설명
AddVerb ( ProgramVerb verb ) : void

Adds single ProgramVerb that define the verb supported by this ProgID.

Create ( ProgramVerb verb ) : ProgramAssociationInfo

Creates actual Programmatic Identifier key in registry that is used by other extensions.

Create ( string description, EditFlags editFlags, ProgramVerb verb ) : ProgramAssociationInfo

Creates actual Programmatic Identifier key in registry that is used by other extensions.

Create ( string description, ProgramVerb verb ) : ProgramAssociationInfo

Creates actual Programmatic Identifier key in registry that is used by other extensions.

Create ( ) : void

Creates program id within registry.

Delete ( ) : void

Deletes the current prog id.

ProgramAssociationInfo ( string progId ) : System

Initializes a new instance of the ProgramAssociationInfo class, which acts as a wrapper for a Programmatic Identifier within the registry.

RemoveVerb ( ProgramVerb verb ) : void

Removes single ProgramVerb that define the verb supported by this ProgID.

RemoveVerb ( string name ) : void

Removes single ProgramVerb that define the verb supported by this ProgID.

보호된 메소드들

메소드 설명
AddVerbInternal ( ProgramVerb verb ) : void

Adds single ProgramVerb that define the verb supported by this ProgID.

GetAlwaysShowExt ( ) : bool

Gets a value that determines if the file's extension will always be displayed.

GetDefaultIcon ( ) : ProgramIcon

GetDescription ( ) : string

Gets a value that determines what the friendly name of the file is.

GetEditFlags ( ) : EditFlags

Gets a value that determines numerous shell options for extension as well as limitations on how extension properties can be edited by programs that honor EditFlags

GetVerbs ( ) : ZForge.Win32.FileAssociation.ProgramVerb[]

Gets an array of ProgramVerb that define the verbs supported by this ProgID.

RemoveVerbInternal ( string name ) : void

Removes single ProgramVerb that define the verb supported by this ProgID.

SetAlwaysShowExt ( bool value ) : void

Sets a value that determines if the file's extension will always be shown.

SetDefaultIcon ( ProgramIcon icon ) : void

SetDescription ( string description ) : void

Sets a value that determines what the friendly name of the file is.

SetEditFlags ( EditFlags flags ) : void

Sets a value that determines numerous shell options for extension as well as limitations on how extension properties can be edited by programs that honor EditFlags

SetVerbs ( ProgramVerb verbs ) : void

Sets an array of ProgramVerb that define the verbs supported by this ProgID

비공개 메소드들

메소드 설명
TryGetInt ( byte arr, int &val ) : bool

Attempts to convert the value within the input byte array into an integer.

메소드 상세

AddVerb() 공개 메소드

Adds single ProgramVerb that define the verb supported by this ProgID.
public AddVerb ( ProgramVerb verb ) : void
verb ProgramVerb Single that contains supported verb.
리턴 void

AddVerbInternal() 보호된 메소드

Adds single ProgramVerb that define the verb supported by this ProgID.
protected AddVerbInternal ( ProgramVerb verb ) : void
verb ProgramVerb Single that contains supported verb.
리턴 void

Create() 공개 메소드

Creates actual Programmatic Identifier key in registry that is used by other extensions.
public Create ( ProgramVerb verb ) : ProgramAssociationInfo
verb ProgramVerb Single that contains supported verb.
리턴 ProgramAssociationInfo

Create() 공개 메소드

Creates actual Programmatic Identifier key in registry that is used by other extensions.
public Create ( string description, EditFlags editFlags, ProgramVerb verb ) : ProgramAssociationInfo
description string Friendly description of file type.
editFlags EditFlags for program file type.
verb ProgramVerb Single that contains supported verbs.
리턴 ProgramAssociationInfo

Create() 공개 메소드

Creates actual Programmatic Identifier key in registry that is used by other extensions.
public Create ( string description, ProgramVerb verb ) : ProgramAssociationInfo
description string Friendly description of file type.
verb ProgramVerb Single that contains supported verbs.
리턴 ProgramAssociationInfo

Create() 공개 메소드

Creates program id within registry.
public Create ( ) : void
리턴 void

Delete() 공개 메소드

Deletes the current prog id.
public Delete ( ) : void
리턴 void

GetAlwaysShowExt() 보호된 메소드

Gets a value that determines if the file's extension will always be displayed.
protected GetAlwaysShowExt ( ) : bool
리턴 bool

GetDefaultIcon() 보호된 메소드

protected GetDefaultIcon ( ) : ProgramIcon
리턴 ProgramIcon

GetDescription() 보호된 메소드

Gets a value that determines what the friendly name of the file is.
protected GetDescription ( ) : string
리턴 string

GetEditFlags() 보호된 메소드

Gets a value that determines numerous shell options for extension as well as limitations on how extension properties can be edited by programs that honor EditFlags
protected GetEditFlags ( ) : EditFlags
리턴 EditFlags

GetVerbs() 보호된 메소드

Gets an array of ProgramVerb that define the verbs supported by this ProgID.
protected GetVerbs ( ) : ZForge.Win32.FileAssociation.ProgramVerb[]
리턴 ZForge.Win32.FileAssociation.ProgramVerb[]

ProgramAssociationInfo() 공개 메소드

Initializes a new instance of the ProgramAssociationInfo class, which acts as a wrapper for a Programmatic Identifier within the registry.
public ProgramAssociationInfo ( string progId ) : System
progId string Name of program id to interface with.
리턴 System

RemoveVerb() 공개 메소드

Removes single ProgramVerb that define the verb supported by this ProgID.
public RemoveVerb ( ProgramVerb verb ) : void
verb ProgramVerb Single that contains supported verb.
리턴 void

RemoveVerb() 공개 메소드

Removes single ProgramVerb that define the verb supported by this ProgID.
public RemoveVerb ( string name ) : void
name string Name of verb to remove.
리턴 void

RemoveVerbInternal() 보호된 메소드

Removes single ProgramVerb that define the verb supported by this ProgID.
protected RemoveVerbInternal ( string name ) : void
name string Name of verb to remove
리턴 void

SetAlwaysShowExt() 보호된 메소드

Sets a value that determines if the file's extension will always be shown.
protected SetAlwaysShowExt ( bool value ) : void
value bool Value that specifies if the file's extension should be always displayed.
리턴 void

SetDefaultIcon() 보호된 메소드

protected SetDefaultIcon ( ProgramIcon icon ) : void
icon ProgramIcon
리턴 void

SetDescription() 보호된 메소드

Sets a value that determines what the friendly name of the file is.
protected SetDescription ( string description ) : void
description string Friendly description of file type.
리턴 void

SetEditFlags() 보호된 메소드

Sets a value that determines numerous shell options for extension as well as limitations on how extension properties can be edited by programs that honor EditFlags
protected SetEditFlags ( EditFlags flags ) : void
flags EditFlags for program file type.
리턴 void

SetVerbs() 보호된 메소드

Sets an array of ProgramVerb that define the verbs supported by this ProgID
protected SetVerbs ( ProgramVerb verbs ) : void
verbs ProgramVerb Array of that contains verbs to be set.
리턴 void

프로퍼티 상세

progId 보호되어 있는 프로퍼티

Actual name of Programmatic Identifier
protected string progId
리턴 string